* {
    padding: 0;
    margin: 0;
}

body {
    height: 100vh;
    background-color: #7dbfff;
    /* 居中 */
    display: flex;
    justify-content: center;
    align-items: center;
}

#nav-tab {
    position: relative;
    overflow: hidden;
    width: 375px;
    height: 100px;
    display: flex;
    background-color: #fff;
    border-radius: 20px 20px 90px 90px;
    border: 20px solid white;
}

.nav-tab-item {
    z-index: 20;
    transition: .3s;
    width: 90px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    cursor: pointer;
}

.nav-tab-item.active {
    width: 120px;
}

.nav-tab-item-icon {
    color: #4298e7;
    font-size: 26px !important;
    transition: .3s;
    transform: translate(0, 0px);
}

.active .nav-tab-item-icon {
    transform: translate(0, -10px);
}

.item-lable {
    color: #4298e7;
    font-size: 12px;
    transition: .3s;
    opacity: 0;
    user-select: none;
}

.active .item-lable {
    opacity: 1;
}

.nav-tab-overlay {
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 110px;
    background-color: #e4f2ff;
    border-radius: 20px;
    /* opacity: .6; */
    transition: .3s;
}